package com.xored.glance.ui.controls.decor;

import org.eclipse.core.runtime.IProgressMonitor;

import com.xored.glance.ui.sources.ITextBlock;
import com.xored.glance.ui.sources.ITextSourceListener;

public interface IStructContent {

	public void index(IProgressMonitor monitor);

	public ITextBlock[] getBlocks();

	public ITextBlock getContent(StructCell cell);

	public IPath getPath(ITextBlock block);

	public void dispose();

	public void addListener(ITextSourceListener listener);

	public void removeListener(ITextSourceListener listener);

	public ITextSourceListener[] getListeners();

}
